<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>24_扩展垃圾回收机制</title>
    </head>
    <body>
        <script>
            var a = [1,2,3,4];

            var b = a;

            a = null;

            console.log(a);
            console.log(b);
        </script>
    </body>
</html>